{block name="menu"}
<!--_menu 作为公共模版分离出去-->
  <aside class="Hui-admin-aside-wrapper">
    <div class="Hui-admin-logo-wrapper">
      <a class="logo navbar-logo" href="{:url('index/index')}">
        <i class="va-m iconpic global-logo"></i>
        <span class="va-m">{$sysconfig.PLATFORM_NAME}</span>
      </a>
    </div>
    <div class="Hui-admin-menu-dropdown bk_2">
      
        {if !empty($left_menus)}
            {foreach $left_menus as $k=>$v}
      <dl id="menu-article" class="Hui-menu">
        <dt class="Hui-menu-title" {if empty($v.child) && !empty($v.action)} onclick="window.location.href='<?php echo url($v['controller'].'/'.$v['action']); ?>'" {/if}>
            <i class="Hui-iconfont">&{$v.icon};</i> {$v.menu_name}
            {if !empty($v.child)}<i class="Hui-iconfont Hui-admin-menu-dropdown-arrow">&#xe6d5;</i>{/if}
        </dt>
                {if !empty($v.child)}
                    
        <dd class="Hui-menu-item">
          <ul>
                    
            
                {foreach $v.child as $k1=>$v1}
                    {if empty($v1.child)}
            <li {if $current_con == $v1.controller && $current_act == $v1.action}class="current"{/if} ><a href="<?php echo url($v1['controller'].'/'.$v1['action']); ?>" title="{$v1.menu_name}">{$v1.menu_name}</a></li>
                    {else /}
            <li {if $current_con == $v1.controller && $current_act == $v1.action}class="current"{/if}>
              <dl class="Hui-menu">
                <dt class="Hui-menu-title">{$v1.menu_name}<i class="Hui-iconfont Hui-admin-menu-dropdown-arrow">&#xe6d5;</i></dt>
                <dd class="Hui-menu-item">
                  <ul>
                        {foreach $v1.child as $k2=>$v2}
                    <li {if $current_con == $v2.controller && $current_act == $v2.action}class="current"{/if}>
                      <a href="<?php echo url($v2['controller'].'/'.$v2['action']); ?>" title="">{$v2.menu_name}</a>
                    </li>
                        {/foreach}
                    
                  </ul>
                </dd>
              </dl>
            </li>       {/if}
                    {/foreach}
          </ul>
        </dd>
                    
                {/if}
      </dl>
            {/foreach}
        {/if}
      
    </div>
  </aside>
  <div class="Hui-admin-aside-mask"></div>
  <!--/_menu 作为公共模版分离出去-->
  {/block}